CC=g++
CFLAGS=-Werror -m64 -g -Wall -Wextra -fsanitize=address -I.. -I../MFClinux -I../../include

YEUX3=test_yeux3
MFC=test_mfclinux
LIBS_YEUX3=-L.. -lyeux -ldl -lefence -fsanitize=address

OBJ_YEUX3 = test_yeux3.o
OBJ_MFC=test_mfclinux.o

%.o: %.cpp
	$(CC) -c -o $@ $< $(CFLAGS)

all: $(YEUX3) $(MFC)

$(YEUX3): $(OBJ_YEUX3)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS_YEUX3)

$(MFC): $(OBJ_MFC)
	$(CC) -o $@ $^ $(CFLAGS)

	
.PHONY: clean

clean:
	rm -f $(YEUX3) $(MFC) *.o core
